package com.zhkj.txg.module.product.adapter

import android.widget.ImageView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.zhkj.txg.R
import com.zhkj.txg.utils.ImageUtils

class SharePictureAdapter : BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_share_pic) {
    override fun convert(helper: BaseViewHolder, item: String) {
        val imageView = helper.getView<ImageView>(R.id.ivShare)
        ImageUtils.loadRoundCornerImage(context, imageView, item)
    }
}